1100
Is it is possible to exclude the non-working days when displaying the histogram using the exBarEffort for exHistOverAllocation type

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,40);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 64;
	var_Chart.HistogramView = EXG2ANTTLib.HistogramViewEnum.exHistogramAllItems;
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Split"];
		var_Bar.Pattern = EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeThinUp;
		var_Bar.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,128));
	EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Add("Task:Split");
		var_Bar1.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,128));
		var_Bar1.Shortcut = "WorkingTask";
		var_Bar1.Pattern = EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
		var_Bar1.HistogramPattern = EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
		var_Bar1.HistogramType = EXG2ANTTLib.HistogramTypeEnum.exHistOverAllocation;
	EXG2ANTTLib.Bar var_Bar2 = var_Chart.Bars["Task"];
		var_Bar2.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255));
		var_Bar2.Pattern = EXG2ANTTLib.PatternEnum.exPatternFDiagonal;
		var_Bar2.HistogramType = EXG2ANTTLib.HistogramTypeEnum.exHistOverAllocation;
		var_Bar2.HistogramPattern = EXG2ANTTLib.PatternEnum.exPatternFDiagonal;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("True");
	var_Items.AddBar(h,"WorkingTask",Convert.ToDateTime("6/23/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/29/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,4);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	h = var_Items.AddItem("False");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/23/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/29/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,4);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,false);
axG2antt1.EndUpdate();

1099
I display numbers in my chart, but the AddBar requires a date how can I add a bar
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.NonworkingDays = 0;
	var_Chart.FirstVisibleDate = 0;
	var_Chart.ToolTip = "";
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%i%>";
		var_Level.ToolTip = "";
	var_Chart.UnitWidth = 24;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",2,4,null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",6,10,null,null);
axG2antt1.EndUpdate();

1098
I display numbers in the chart's header but do not want to get displayed negative numbers. How can i do that
// DateChange event - Occurs when the first visible date is changed.
private void axG2antt1_DateChange(object sender, EventArgs e)
{
	axG2antt1.Chart.FirstVisibleDate = 0;
	axG2antt1.set_ScrollPartEnable(EXG2ANTTLib.ScrollBarEnum.exHChartScroll,EXG2ANTTLib.ScrollPartEnum.exLeftBPart,false);
}
//this.axG2antt1.DateChange += new EventHandler(this.axG2antt1_DateChange);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.NonworkingDays = 0;
	var_Chart.FirstVisibleDate = 0;
	var_Chart.ToolTip = "";
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%i%>";
		var_Level.ToolTip = "<%i%>";
	var_Chart.UnitWidth = 24;
axG2antt1.EndUpdate();

1097
How can I display numbers in the chart's header instead dates

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.NonworkingDays = 0;
	var_Chart.FirstVisibleDate = 0;
	var_Chart.ToolTip = "";
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%i%>";
		var_Level.ToolTip = "";
	var_Chart.UnitWidth = 24;
axG2antt1.EndUpdate();

1096
How can I create a bar that's not sizable, or can not be resized by default similar with milestone
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/24/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Add("Custom");
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeEmpty;
		var_Bar.StartShape = EXG2ANTTLib.ShapeCornerEnum.exShapeIconUp1;
		var_Bar.EndShape = EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem(""),"Custom",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","This TYPE of bar can not be resized.");
axG2antt1.EndUpdate();

1095
Is it possible to hide the non-working parts for items using the ItemNonworkingUnits, even if set the ShowNonworkingUnits, ShowNonworkingDates on False

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/27/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.NonworkingDaysPattern = EXG2ANTTLib.PatternEnum.exPatternEmpty;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.set_ItemNonworkingUnits(h2,false,"weekday(value) = 1");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
axG2antt1.EndUpdate();

1094
Is it possible to show the non-working parts for certain items, even if I hide the default non-working part

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/27/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.set_ItemNonworkingUnits(h2,false,"weekday(value) = 1");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
axG2antt1.EndUpdate();

1093
How can I hide the non-working part of the chart
axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
axG2antt1.EndUpdate();

1092
Is it possible to let users selects cells as in Excel
axG2antt1.BeginUpdate();
axG2antt1.FullRowSelect = EXG2ANTTLib.CellSelectEnum.exRectSel;
axG2antt1.SingleSel = false;
axG2antt1.ReadOnly = EXG2ANTTLib.ReadOnlyEnum.exReadOnly;
axG2antt1.MarkSearchColumn = false;
axG2antt1.ShowFocusRect = false;
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.SelForeColor = Color.FromArgb(0,0,0);
axG2antt1.SelBackColor = Color.FromArgb(200,225,242);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("A");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("B") as EXG2ANTTLib.Column);
		var_Column.AllowSizing = false;
		var_Column.Width = 24;
	EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("C") as EXG2ANTTLib.Column);
		var_Column1.AllowSizing = false;
		var_Column1.Width = 24;
		var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,1);
		var_Column1.PartialCheck = true;
	EXG2ANTTLib.Column var_Column2 = (var_Columns.Add("D") as EXG2ANTTLib.Column);
		var_Column2.AllowSizing = false;
		var_Column2.Width = 24;
		var_Column2.set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasRadioButton,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.InsertItem(null,null,"Group 1");
	int h1 = var_Items.InsertItem(h,null,16);
	var_Items.set_CellValue(h1,1,17);
	h1 = var_Items.InsertItem(h,null,2);
	var_Items.set_CellValue(h1,1,11);
	h1 = var_Items.InsertItem(h,null,2);
	var_Items.set_ItemBackColor(h1,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
	var_Items.set_CellValue(h1,1,9);
	var_Items.set_ExpandItem(h,true);
	h = var_Items.InsertItem(null,null,"Group 2");
	var_Items.set_CellValueFormat(h,2,EXG2ANTTLib.ValueFormatEnum.exHTML);
	h1 = var_Items.InsertItem(h,null,16);
	var_Items.set_CellValue(h1,1,9);
	h1 = var_Items.InsertItem(h,null,12);
	var_Items.set_CellValue(h1,1,11);
	h1 = var_Items.InsertItem(h,null,2);
	var_Items.set_CellValue(h1,1,2);
	var_Items.set_ExpandItem(h,true);
	var_Items.set_SelectItem(h,true);
axG2antt1.EndUpdate();

1091
How can I hide a date from the chart view
axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.AllowInsideZoom = true;
	var_Chart.AllowResizeInsideZoom = false;
	var_Chart.InsideZoomOnDblClick = false;
	EXG2ANTTLib.InsideZooms var_InsideZooms = var_Chart.InsideZooms;
		var_InsideZooms.SplitBaseLevel = false;
		var_InsideZooms.DefaultWidth = 0;
		var_InsideZooms.Add(Convert.ToDateTime("1/4/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
		var_InsideZooms.Add(Convert.ToDateTime("1/5/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
		var_InsideZooms.Add(Convert.ToDateTime("1/6/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.SelectLevel = 1;
	var_Chart.set_SelectDate(Convert.ToDateTime("1/5/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
axG2antt1.EndUpdate();

1090
Can the SchedulePDM displays and edit the working units for my bars

// BarResizing event - Occurs when a bar is moving or resizing.
private void axG2antt1_BarResizing(object sender, AxEXG2ANTTLib._IG2anttEvents_BarResizingEvent e)
{
	axG2antt1.Items.SchedulePDM(e.item,e.key);
}
//this.axG2antt1.BarResizing += new AxEXG2ANTTLib._IG2anttEvents_BarResizingEventHandler(this.axG2antt1_BarResizing);

axG2antt1.BeginUpdate();
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Working") as EXG2ANTTLib.Column);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column.Editor.EditType = EXG2ANTTLib.EditTypeEnum.SpinType;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,96);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddLink("L1",h1,"",h2,"");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddLink("L2",h2,"",h3,"");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FF");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,2);
	int h4 = var_Items.AddItem("Task 4");
	var_Items.AddBar(h4,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddLink("L3",h4,"",h3,"");
	var_Items.set_ItemBar(0,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.SchedulePDM(var_Items.FirstVisibleItem,"");
axG2antt1.EndUpdate();

1089
Can the SchedulePDM displays the working units for my bars
// BarResizing event - Occurs when a bar is moving or resizing.
private void axG2antt1_BarResizing(object sender, AxEXG2ANTTLib._IG2anttEvents_BarResizingEvent e)
{
	axG2antt1.Items.SchedulePDM(e.item,e.key);
}
//this.axG2antt1.BarResizing += new AxEXG2ANTTLib._IG2anttEvents_BarResizingEventHandler(this.axG2antt1_BarResizing);

axG2antt1.BeginUpdate();
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns.Add("Task");
(axG2antt1.Columns.Add("Working") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,96);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddLink("L1",h1,"",h2,"");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddLink("L2",h2,"",h3,"");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FF");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,2);
	int h4 = var_Items.AddItem("Task 4");
	var_Items.AddBar(h4,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddLink("L3",h4,"",h3,"");
	var_Items.set_ItemBar(0,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.SchedulePDM(var_Items.FirstVisibleItem,"");
axG2antt1.EndUpdate();

1088
Can the SchedulePDM keeps the working units for my bars
// BarResizing event - Occurs when a bar is moving or resizing.
private void axG2antt1_BarResizing(object sender, AxEXG2ANTTLib._IG2anttEvents_BarResizingEvent e)
{
	axG2antt1.Items.SchedulePDM(e.item,e.key);
}
//this.axG2antt1.BarResizing += new AxEXG2ANTTLib._IG2anttEvents_BarResizingEventHandler(this.axG2antt1_BarResizing);

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FF");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,2);
	int h4 = var_Items.AddItem("Task 4");
	var_Items.AddBar(h4,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K4",null);
	var_Items.AddLink("L3",h4,"K4",h3,"K3");
	var_Items.set_ItemBar(0,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1087
How can I arrange automatically the bars based on their links as soon as user moves the bars
// BarResizing event - Occurs when a bar is moving or resizing.
private void axG2antt1_BarResizing(object sender, AxEXG2ANTTLib._IG2anttEvents_BarResizingEvent e)
{
	axG2antt1.Items.SchedulePDM(e.item,e.key);
}
//this.axG2antt1.BarResizing += new AxEXG2ANTTLib._IG2anttEvents_BarResizingEventHandler(this.axG2antt1_BarResizing);

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FF");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,2);
	int h4 = var_Items.AddItem("Task 4");
	var_Items.AddBar(h4,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K4",null);
	var_Items.AddLink("L3",h4,"K4",h3,"K3");
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1086
How can I arrange automatically the bars based on their links as soon as user moves the bars
// BarResize event - Occurs when a bar is moved or resized.
private void axG2antt1_BarResize(object sender, AxEXG2ANTTLib._IG2anttEvents_BarResizeEvent e)
{
	axG2antt1.Items.SchedulePDM(e.item,e.key);
}
//this.axG2antt1.BarResize += new AxEXG2ANTTLib._IG2anttEvents_BarResizeEventHandler(this.axG2antt1_BarResize);

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1085
I have some buttons added on the control's scroll bar, how can I can know when the button is being clicked
// ScrollButtonClick event - Occurs when the user clicks a button in the scrollbar.
private void axG2antt1_ScrollButtonClick(object sender, AxEXG2ANTTLib._IG2anttEvents_ScrollButtonClickEvent e)
{
	System.Diagnostics.Debug.Print( e.scrollBar.ToString() );
	System.Diagnostics.Debug.Print( e.scrollPart.ToString() );
}
//this.axG2antt1.ScrollButtonClick += new AxEXG2ANTTLib._IG2anttEvents_ScrollButtonClickEventHandler(this.axG2antt1_ScrollButtonClick);

axG2antt1.set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,true);
axG2antt1.set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB2Part,true);
axG2antt1.set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exRightB6Part,true);
axG2antt1.set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exRightB5Part,true);
axG2antt1.ScrollBars = EXG2ANTTLib.ScrollBarsEnum.exDisableNoHorizontal;

1084
How do I get notified once the user clicks a hyperlink created using the anchor HTML tag
// AnchorClick event - Occurs when an anchor element is clicked.
private void axG2antt1_AnchorClick(object sender, AxEXG2ANTTLib._IG2anttEvents_AnchorClickEvent e)
{
	System.Diagnostics.Debug.Print( e.anchorID.ToString() );
	System.Diagnostics.Debug.Print( e.options.ToString() );
}
//this.axG2antt1.AnchorClick += new AxEXG2ANTTLib._IG2anttEvents_AnchorClickEventHandler(this.axG2antt1_AnchorClick);

(axG2antt1.Columns.Add("Default") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("This is a link: <aex.com;1>www.exontrol.com</a>");
	var_Items.AddItem("This is a link: <aex.net;2>www.exontrol.net</a>");

1083
Is it possible to start editing a cell when double click it
// DblClick event - Occurs when the user dblclk the left mouse button over an object.
private void axG2antt1_DblClick(object sender, AxEXG2ANTTLib._IG2anttEvents_DblClickEvent e)
{
	axG2antt1.Edit(null);
}
//this.axG2antt1.DblClick += new AxEXG2ANTTLib._IG2anttEvents_DblClickEventHandler(this.axG2antt1_DblClick);

axG2antt1.BeginUpdate();
axG2antt1.AutoEdit = false;
axG2antt1.MarkSearchColumn = false;
(axG2antt1.Columns.Add("Edit1") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
(axG2antt1.Columns.Add("Edit2") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(1),1,2);
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem(3),1,4);
axG2antt1.EndUpdate();

1082
Is it possible to disable standard single-click behavior for this column, so I manually could call Edit() when needed
// DblClick event - Occurs when the user dblclk the left mouse button over an object.
private void axG2antt1_DblClick(object sender, AxEXG2ANTTLib._IG2anttEvents_DblClickEvent e)
{
	axG2antt1.Edit(null);
}
//this.axG2antt1.DblClick += new AxEXG2ANTTLib._IG2anttEvents_DblClickEventHandler(this.axG2antt1_DblClick);

axG2antt1.BeginUpdate();
axG2antt1.AutoEdit = false;
axG2antt1.MarkSearchColumn = false;
(axG2antt1.Columns.Add("Edit1") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
(axG2antt1.Columns.Add("Edit2") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(1),1,2);
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem(3),1,4);
axG2antt1.EndUpdate();

1081
How can I get or restore the old or previously value for the cell being changed
// Change event - Occurs when the user changes the cell's content.
private void axG2antt1_Change(object sender, AxEXG2ANTTLib._IG2anttEvents_ChangeEvent e)
{
	System.Diagnostics.Debug.Print( "Old-Value:" );
	System.Diagnostics.Debug.Print( axG2antt1.Items.get_CellValue(e.item,e.colIndex).ToString() );
	System.Diagnostics.Debug.Print( "New-Value:" );
	System.Diagnostics.Debug.Print( e.newValue.ToString() );
}
//this.axG2antt1.Change += new AxEXG2ANTTLib._IG2anttEvents_ChangeEventHandler(this.axG2antt1_Change);

axG2antt1.BeginUpdate();
axG2antt1.MarkSearchColumn = false;
(axG2antt1.Columns.Add("Edit1") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
(axG2antt1.Columns.Add("Edit2") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(1),1,2);
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem(3),1,4);
axG2antt1.EndUpdate();

1080
How can I display the number of items being found after filtering
// FilterChange event - Occurs when the filter was changed.
private void axG2antt1_FilterChange(object sender, EventArgs e)
{
	axG2antt1.FilterBarCaption = axG2antt1.Items.VisibleCount.ToString();
}
//this.axG2antt1.FilterChange += new EventHandler(this.axG2antt1_FilterChange);

axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAll;
axG2antt1.FilterBarPromptPattern = "london";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1079
How can I highligth the item from the cursor as it moves
// MouseMove event - Occurs when the user moves the mouse.
private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e)
{
	axG2antt1.BeginUpdate();
	int h = axG2antt1.get_ItemFromPoint(-1,-1,c,hit);
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.ClearItemBackColor(axG2antt1.get_Background((EXG2ANTTLib.BackgroundPartEnum)0x200 | EXG2ANTTLib.BackgroundPartEnum.exHSRight | EXG2ANTTLib.BackgroundPartEnum.exListOLEDropPosition));
		var_Items.set_ItemBackColor(h,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,250,240)));
	axG2antt1.set_Background((EXG2ANTTLib.BackgroundPartEnum)0x200 | EXG2ANTTLib.BackgroundPartEnum.exHSRight | EXG2ANTTLib.BackgroundPartEnum.exListOLEDropPosition,h);
	axG2antt1.EndUpdate();
}
//this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent);

axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
axG2antt1.SelBackColor = Color.FromArgb(240,250,240);
axG2antt1.SelForeColor = Color.FromArgb(0,0,0);
axG2antt1.ShowFocusRect = false;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.SelBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(240,250,240));
axG2antt1.Columns.Add("Items");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
axG2antt1.EndUpdate();

1078
How can I get the item from the cursor
// MouseMove event - Occurs when the user moves the mouse.
private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e)
{
	int h = axG2antt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( "Handle" );
	System.Diagnostics.Debug.Print( h.ToString() );
	System.Diagnostics.Debug.Print( "Index" );
	System.Diagnostics.Debug.Print( axG2antt1.Items.get_ItemToIndex(h).ToString() );
}
//this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent);

axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
axG2antt1.Columns.Add("Items");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
axG2antt1.EndUpdate();

1077
How can I get the column from the cursor, not only in the header
// MouseMove event - Occurs when the user moves the mouse.
private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e)
{
	System.Diagnostics.Debug.Print( axG2antt1.get_ColumnFromPoint(-1,0).ToString() );
}
//this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent);

axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Columns.Add("P1");
axG2antt1.Columns.Add("P2");
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.set_CellValue(h,1,"R2");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Cell 1.1"),1,"Cell 1.2");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Cell 2.1"),1,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
axG2antt1.EndUpdate();

1076
How can I get the column from the cursor
// MouseMove event - Occurs when the user moves the mouse.
private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e)
{
	System.Diagnostics.Debug.Print( axG2antt1.get_ColumnFromPoint(-1,-1).ToString() );
}
//this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent);

axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.Columns.Add("P1");
axG2antt1.Columns.Add("P2");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.set_CellValue(h,1,"R2");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Cell 1.1"),1,"Cell 1.2");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Cell 2.1"),1,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
axG2antt1.EndUpdate();

1075
How can I get the cell's caption from the cursor
// MouseMove event - Occurs when the user moves the mouse.
private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e)
{
	int h = axG2antt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( axG2antt1.Items.get_CellCaption(h,c) );
}
//this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent);

axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Columns.Add("Items");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
axG2antt1.EndUpdate();

1074
Is it possible to change the style for the vertical or horizontal grid lines, in the list area
axG2antt1.BeginUpdate();
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesVSolid | EXG2ANTTLib.GridLinesStyleEnum.exGridLinesHDot4;
axG2antt1.Columns.Add("C1");
axG2antt1.Columns.Add("C2");
axG2antt1.Columns.Add("C3");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.set_CellValue(h,1,"SubItem 1.2");
	var_Items.set_CellValue(h,2,"SubItem 1.3");
	h = var_Items.AddItem("Item 2");
	var_Items.set_CellValue(h,1,"SubItem 2.2");
	var_Items.set_CellValue(h,2,"SubItem 2.3");
axG2antt1.EndUpdate();

1073
How can I show the bars over the grid lines, i.e. so you cannot see the grid lines 'through' the bar

axG2antt1.BeginUpdate();
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.GridLineColor = Color.FromArgb(220,220,220);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesBehind;
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.DrawGridLines = true;
		var_Level.GridLineColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(220,220,220));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Pattern = EXG2ANTTLib.PatternEnum.exPatternSolid;
		var_Bar.Height = 14;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
axG2antt1.EndUpdate();

1072
Is it possible to change the style for the vertical grid lines, in the chart area only

axG2antt1.BeginUpdate();
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesDash;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesDash;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(1).DrawGridLines = true;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.GridLineColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
		var_Level.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesVSolid;
	var_Chart.Bars["Task"].Pattern = EXG2ANTTLib.PatternEnum.exPatternSolid;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
axG2antt1.EndUpdate();

1071
Is it possible to change the style for the grid lines, for instance to be solid not dotted

axG2antt1.BeginUpdate();
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(1).DrawGridLines = true;
	var_Chart.Bars["Task"].Pattern = EXG2ANTTLib.PatternEnum.exPatternSolid;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
axG2antt1.EndUpdate();

1070
How can I show the grid lines for the chart and list area

axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(1).DrawGridLines = true;
	var_Chart.Bars["Task"].Pattern = EXG2ANTTLib.PatternEnum.exPatternSolid;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);

1069
In the level of the chart we are showing the week number of the year (1-53) (Week: ww). However the weeknumber isn't correct. In western Europe the week of 04/01/2010 till 10/01/2010 is weeknumber 1, however the g2antt says it's week 2

EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = "Week: <%ww%>/<%yyyy%>";
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;

1068
How can I determine the current visible date range of the gantt chart area
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
System.Diagnostics.Debug.Print( axG2antt1.Chart.StartPrintDate.ToString() );
System.Diagnostics.Debug.Print( axG2antt1.Chart.EndPrintDate.ToString() );

1067
How can I change the progress bar using a spin editor using values from 0 to 100

axG2antt1.BeginUpdate();
axG2antt1.Items.AllowCellValueToItemBar = true;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("Task");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Percent") as EXG2ANTTLib.Column);
		var_Column.Editor.EditType = EXG2ANTTLib.EditTypeEnum.SpinType;
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,518);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars.Add("Task%Progress");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task%Progress",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellValue(h,1,40);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task%Progress",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellValue(h,1,50);
axG2antt1.EndUpdate();

1066
Is it possible to display the histogram for selected bars only

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramView = EXG2ANTTLib.HistogramViewEnum.exHistogramSelectedBars;
	var_Chart.HistogramHeight = 32;
	var_Chart.Bars["Task"].HistogramPattern = EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),1,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),2,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),3,null);
	var_Items.set_ItemBar(0,2,EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
	var_Items.set_ItemBar(0,3,EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
axG2antt1.EndUpdate();

1065
How can I fix a bar, so it is not selectable, moveable or resizable, fixed in other words
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","Unselectable");
	var_Items.set_ItemBar(h1,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarSelectable,false);
axG2antt1.EndUpdate();

1064
How can I fix a bar, so it is not moveable or resizable
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","Fixed");
	var_Items.set_ItemBar(h1,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	var_Items.set_ItemBar(h1,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMove,false);
axG2antt1.EndUpdate();

1063
Is is possible to fix a bar during PDM scheduling
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"TaskF",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h1,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	var_Items.set_ItemBar(h1,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMove,false);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"TaskF",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.set_ItemBar(h3,"K3",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	var_Items.set_ItemBar(h3,"K3",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMove,false);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1062
How can I specify that during scheduling the link, bars should be delayed, on working part

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h1,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(h2,"K2",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FS");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.set_ItemBar(h3,"K3",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"link delays the bars<br>for <b>2</b> working days");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkPDMWorkingDelay,2);
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1061
How can I specify that during scheduling the link, bars should be delayed

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FS");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"   Finish-Start<br>delayed <b>4</b> days");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkPDMDelay,4);
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1060
The SchedulePDM method put the bars on non-working part, how can I prevent that

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h1,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(h2,"K2",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FS");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.set_ItemBar(h3,"K3",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FS");
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1059
How can I add a SF (Start-Finish) link so activities get arranged using the SchedulePDM

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FS");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"SF");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,0);
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,2);
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1058
How can I add a SS (Start-Start) link so activities get arranged using the SchedulePDM

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FS");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"SS");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,0);
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,0);
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1057
How can I add a FF (Finish-Finish) link so activities get arranged using the SchedulePDM

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FS");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FF");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,2);
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1056
How can I add a FS (Finish-Start) link so activities get arranged using the SchedulePDM

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FS");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FS");
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1055
How can I schedule activities in the project plan
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h3,"K3",h2,"K2");
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1054
How do I arrange the bars based on the links

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.SchedulePDM(0,"K1");
axG2antt1.EndUpdate();

1053
Is is possible to use HTML tags to display in the filter caption
axG2antt1.BeginUpdate();
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarCaption = "This is a bit of text being displayed in the filter bar.";
axG2antt1.Columns.Add("");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
axG2antt1.EndUpdate();

1052
How can I find the number of items after filtering
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("");
	var_Items.set_CellValue(h,0,var_Items.VisibleItemCount);
axG2antt1.EndUpdate();

1051
How can I change the filter caption
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptWords | EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAll;
axG2antt1.FilterBarPromptPattern = "london robert";
axG2antt1.FilterBarCaption = "<r>Found: ... ";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1050
While using the filter prompt is it is possible to use wild characters
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptPattern;
axG2antt1.FilterBarPromptPattern = "lon* seat*";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1049
How can I list all items that contains any of specified words, not necessary at the beggining
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptStartWords | EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
axG2antt1.FilterBarPromptPattern = "london davolio";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1048
How can I list all items that contains any of specified words, not strings
axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptWords | EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
axG2antt1.FilterBarPromptPattern = "london nancy";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1047
How can I list all items that contains all specified words, not strings
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptWords | EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAll;
axG2antt1.FilterBarPromptPattern = "london robert";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1046
I've noticed that the filtering by prompt is not case sensitive, is is possible to make it case sensitive
axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptCaseSensitive | EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
axG2antt1.FilterBarPromptPattern = "Anne";
axG2antt1.Chart.set_PaneWidth(true,0);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1045
Is it possible to list only items that ends with any of specified strings
axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptEndWith;
axG2antt1.FilterBarPromptColumns = "0";
axG2antt1.FilterBarPromptPattern = "Fuller";
axG2antt1.Chart.set_PaneWidth(true,0);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1044
Is it possible to list only items that ends with any of specified strings
axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptEndWith;
axG2antt1.FilterBarPromptColumns = "0";
axG2antt1.FilterBarPromptPattern = "Fuller";
axG2antt1.Chart.set_PaneWidth(true,0);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1043
Is it possible to list only items that starts with any of specified strings
axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptStartWith;
axG2antt1.FilterBarPromptColumns = "0";
axG2antt1.FilterBarPromptPattern = "An M";
axG2antt1.Chart.set_PaneWidth(true,0);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1042
Is it possible to list only items that starts with specified string
axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptStartWith;
axG2antt1.FilterBarPromptColumns = "0";
axG2antt1.FilterBarPromptPattern = "A";
axG2antt1.Chart.set_PaneWidth(true,0);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1041
How can I specify that the list should include any of the seqeunces in the pattern
axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
axG2antt1.FilterBarPromptPattern = "london seattle";
axG2antt1.Chart.set_PaneWidth(true,0);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1040
How can I specify that all sequences in the filter pattern must be included in the list
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAll;
axG2antt1.FilterBarPromptPattern = "london manager";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1039
How do I change at runtime the filter prompt
axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptPattern = "london manager";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1038
How do I specify to filter only a single column when using the filter prompt
axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPromptColumns = "2,3";
axG2antt1.FilterBarPromptPattern = "london";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1037
How do I change the prompt or the caption being displayed in the filter bar
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
axG2antt1.FilterBarPrompt = "changed";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
axG2antt1.EndUpdate();

1036
How do I enable the filter prompt feature

axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.ColumnAutoResize = true;
axG2antt1.ContinueColumnScroll = false;
axG2antt1.FocusColumnIndex = 1;
axG2antt1.MarkSearchColumn = false;
axG2antt1.SearchColumnIndex = 1;
axG2antt1.FilterBarPromptVisible = true;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Name") as EXG2ANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Width = 96;
	var_Columns.Add("City");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellValue(h0,1,"Vice President, Sales");
	var_Items.set_CellValue(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellValue(h0,1,"Sales Manager");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellValue(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellValue(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellValue(h0,1,"Sales Representative");
	var_Items.set_CellValue(h0,2,"London");
axG2antt1.EndUpdate();

1035
How can I unselect all bars
axG2antt1.Columns.Add("Task");
axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K4",null);
	var_Items.set_ItemBar(0,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
	var_Items.set_ItemBar(0,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,false);

1034
Can I select bars using a pattern using wild characters as *,

axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.ShowNonworkingDates = false;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1K","K1K");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2M","K2M");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3K","K3K");
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Q","Q");
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M","M");
	var_Items.set_ItemBar(0,"<K*K>",EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);

1033
How can I select all bars in the item with a specified key

axG2antt1.Columns.Add("Task");
axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axG2antt1.Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","K1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2","K2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"P","P");
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Q","Q");
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M","M");
	var_Items.set_ItemBar(h,"<K*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);

1032
How can I select all bars in the specified item

axG2antt1.Columns.Add("Task");
axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axG2antt1.Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","K1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2","K2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"P","P");
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Q","Q");
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M","M");
	var_Items.set_ItemBar(h,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);

1031
How can I select all bars with a specified key

axG2antt1.Columns.Add("Task");
axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axG2antt1.Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","K1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2","K2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"P","P");
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Q","Q");
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"P","P");
	var_Items.set_ItemBar(0,"<P>",EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);

1030
How can I select all bars

axG2antt1.Columns.Add("Task");
axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axG2antt1.Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","K1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2","K2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"P","P");
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Q","Q");
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M","M");
	var_Items.set_ItemBar(0,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);

1029
I have the AllowInsideZoom property on True, but I am still not able to use the inside zoom feature

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 3;
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.get_Level(0).Label = "Week: <%ww%>";
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%dddd%>";
		var_Level.Alignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment;
	var_Chart.get_Level(2).Label = 65536;
	var_Chart.NonworkingHours = 16773375;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingHours = false;
	var_Chart.AllowInsideZoom = true;
	EXG2ANTTLib.InsideZoomFormat var_InsideZoomFormat = var_Chart.DefaultInsideZoomFormat;
		var_InsideZoomFormat.InsideUnit = EXG2ANTTLib.UnitEnum.exMinute;
		var_InsideZoomFormat.InsideLabel = "<b><%nn%></b>";
	var_Chart.InsideZooms.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
axG2antt1.EndUpdate();

1028
Is there any option to find out if two bars intersects

axG2antt1.BeginUpdate();
axG2antt1.DefaultItemHeight = 22;
axG2antt1.Columns.Add("InterectBars");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars["Task"].OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B","B");
	var_Items.set_CellValue(h,0,var_Items.get_IntersectBars(h,"A",h,"B"));
	h = var_Items.AddItem("");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/13/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B","B");
	var_Items.set_CellValue(h,0,var_Items.get_IntersectBars(h,"A",h,"B"));
	h = var_Items.AddItem("");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B","B");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/13/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","A");
	var_Items.set_CellValue(h,0,var_Items.get_IntersectBars(h,"A",h,"B"));
axG2antt1.EndUpdate();

1027
How can I find if a specified hour is a working or non-working hour, when using the ItemNonWorkingUnits

axG2antt1.BeginUpdate();
(axG2antt1.Columns.Add("Hour") as EXG2ANTTLib.Column).FormatColumn = "hour(value)";
(axG2antt1.Columns.Add("Type") as EXG2ANTTLib.Column).FormatColumn = "value != 0 ? 'non-working' : 'working'";
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,164);
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.NonworkingHours = 1;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	bool w = axG2antt1.Chart.get_IsNonworkingDate(axG2antt1.Items.get_CellValue(h,0),null);
	var_Items.set_CellValue(h,1,w);
	h = var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemNonworkingUnits(h,false,"hour(value) >0 ");
	w = axG2antt1.Chart.get_IsNonworkingDate(axG2antt1.Items.get_CellValue(h,0),h);
	var_Items.set_CellValue(h,1,w);
axG2antt1.EndUpdate();

1026
How can I find if a specified hour is a working or non-working hour
axG2antt1.BeginUpdate();
(axG2antt1.Columns.Add("Hour") as EXG2ANTTLib.Column).FormatColumn = "hour(value)";
(axG2antt1.Columns.Add("Type") as EXG2ANTTLib.Column).FormatColumn = "value != 0 ? 'non-working' : 'working'";
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,164);
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.NonworkingHours = 1;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	bool w = axG2antt1.Chart.get_IsNonworkingDate(axG2antt1.Items.get_CellValue(h,0),null);
	var_Items.set_CellValue(h,1,w);
	h = var_Items.AddItem(Convert.ToDateTime("1/1/2001 1:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	w = axG2antt1.Chart.get_IsNonworkingDate(axG2antt1.Items.get_CellValue(h,0),null);
	var_Items.set_CellValue(h,1,w);
axG2antt1.EndUpdate();

1025
How can I find if a specified date-time is a working or non-working unit, when using the ItemNonWorkingUnits
axG2antt1.BeginUpdate();
(axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Width = 48;
(axG2antt1.Columns.Add("Type") as EXG2ANTTLib.Column).FormatColumn = "value != 0 ? 'non-working' : 'working'";
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,128);
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	bool w = axG2antt1.Chart.get_IsNonworkingDate(axG2antt1.Items.get_CellValue(h,0),null);
	var_Items.set_CellValue(h,1,w);
	h = var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) in (1)");
	w = axG2antt1.Chart.get_IsNonworkingDate(axG2antt1.Items.get_CellValue(h,0),h);
	var_Items.set_CellValue(h,1,w);
axG2antt1.EndUpdate();

1024
How can I find if a specified date-time is a working or non-working unit
axG2antt1.BeginUpdate();
(axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Width = 48;
(axG2antt1.Columns.Add("Type") as EXG2ANTTLib.Column).FormatColumn = "value != 0 ? 'non-working' : 'working'";
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,128);
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	bool w = axG2antt1.Chart.get_IsNonworkingDate(axG2antt1.Items.get_CellValue(h,0),null);
	var_Items.set_CellValue(h,1,w);
	h = var_Items.AddItem(Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	w = axG2antt1.Chart.get_IsNonworkingDate(axG2antt1.Items.get_CellValue(h,0),null);
	var_Items.set_CellValue(h,1,w);
axG2antt1.EndUpdate();

1023
When zooming to days, the non-working part of the chart occupies some not useful space. Can I reduce it

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.LevelCount = 2;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.get_Level(0).Label = "Week: <%ww%>";
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%d%>/<%m2%>";
		var_Level.FormatLabel = "weekday(dvalue) in (0,6) ? 'end' : value";
	var_Chart.UnitWidth = 32;
	var_Chart.UnitWidthNonworking = -32;
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Default");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
axG2antt1.EndUpdate();

1022
My chart display only working hours, but when zooming to days, each day shows the non-working part of the day too, even if I use the ShowNonWorkingUnits property on False. What am I doing wrong

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2002 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.LevelCount = 2;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.get_Level(0).Label = "<%ww%>";
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%dd%>";
		var_Level.Unit = EXG2ANTTLib.UnitEnum.exHour;
		var_Level.Count = 24;
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingHours = false;
	var_Chart.UnitWidth = 32;
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Default");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2002 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2002 2:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
axG2antt1.EndUpdate();

1021
I need to display only working hours and weekend part, but for some items I need another non-working part. Is this possible

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.LevelCount = 2;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%ddd%>";
		var_Level.FormatLabel = "weekday(dvalue) in (0,6) ? '' : value";
	EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = 65536;
		var_Level1.FormatLabel = "weekday(dvalue) in (0,6) ? 'end' : value";
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingHours = false;
	var_Chart.UnitWidthNonworking = -24;
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Default");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	h = var_Items.AddItem("Friday");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2002 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) in (0,6,5) or hour(value)<10 or hour(value)>=14");
	h = var_Items.AddItem("Till 13");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2002 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) in (0,6) or hour(value)<10 or hour(value)>=13");
axG2antt1.EndUpdate();

1020
I can display the working hours, but how can I hide the weekend or non-working part of the chart when using the ShowNonWorkingUnits property on False

EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = "<%ddd%>";
	var_Chart.get_Level(1).Label = 65536;
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingHours = false;

1019
How can I display only the working hours but uses less space for non-working part, such as weekend

EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%ddd%>";
		var_Level.FormatLabel = "weekday(dvalue) in (0,6) ? '' : value";
	EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = 65536;
		var_Level1.FormatLabel = "weekday(dvalue) in (0,6) ? 'end' : value";
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingHours = false;
	var_Chart.UnitWidthNonworking = -24;

1018
How can I display only the working hours but uses less space for non-working part, such as weekend

EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = "<%ddd%>";
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = 65536;
		var_Level.FormatLabel = "weekday(dvalue) in (0,6) ? '' : value";
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingHours = false;
	var_Chart.UnitWidthNonworking = 8;

1017
How can I display only the working hours

EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = "<%ddd%>";
	var_Chart.get_Level(1).Label = 65536;
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingHours = false;

1016
How can I specify non-working hours

EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = "<%ddd%>";
	var_Chart.get_Level(1).Label = 65536;
	var_Chart.NonworkingHours = 16761855;

1015
How can I display the working hours for a bar

axG2antt1.BeginUpdate();
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("Tasks");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Working") as EXG2ANTTLib.Column);
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"A");
		var_Column.FormatColumn = "(0:=round(value*24)) != 0 ? =:0 : ''";
axG2antt1.Items.AllowCellValueToItemBar = true;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,96);
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = "<%ddd%>";
	var_Chart.get_Level(1).Label = "<%hh%>";
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingHours = false;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
axG2antt1.EndUpdate();

1014
Is it possible to show only working hours, showing a small part for the weekend days, and in the same time showing the bars by splitting the non-working part and keeping the working units for the bar while moving

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesGeometric;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%ddd%>";
		var_Level.Alignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.FormatLabel = "weekday(dvalue) in (0,6) ? `` : value";
	EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = 65536;
		var_Level1.DrawGridLines = true;
		var_Level1.FormatLabel = "weekday(dvalue) in (0,6) ? `<font ;6>weekend</font>` : value";
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = true;
	var_Chart.ShowNonworkingHours = false;
	var_Chart.UnitWidthNonworking = -40;
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
axG2antt1.EndUpdate();

1013
How can I show bars with different solid color but black border

axG2antt1.BeginUpdate();
axG2antt1.VisualAppearance.Add(1,"C:\\Program Files\\Exontrol\\ExG2antt.NET\\sample\\EBN\\blackbox.ebn");
axG2antt1.Columns.Add("Task");
axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXG2ANTTLib.Bar var_Bar = axG2antt1.Chart.Bars["Task"];
	var_Bar.Color = 0x1000000;
	var_Bar.Height = 15;
axG2antt1.Chart.set_PaneWidth(false,0);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,65535);
	h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
axG2antt1.EndUpdate();

1012
I want to display a vertical line for each week, while I still need a vertical separator for each day. Is this possible

axG2antt1.GridLineColor = Color.FromArgb(240,240,240);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.NonworkingDays = 0;
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.DrawGridLines = true;
		var_Level.GridLineColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,0));
	EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.DrawGridLines = true;
		var_Level1.GridLineColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240));

1011
How can I display the levels as year, day, AM and PM for each day
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/1/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.UnitWidth = 22;
	var_Chart.LevelCount = 3;
	var_Chart.get_Level(0).Label = "<%yyyy%>";
	var_Chart.get_Level(1).Label = "<%mm%>/<%dd%>";
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(2);
		var_Level.Label = "<%AM/PM%>";
		var_Level.Count = 12;

1010
How can I change the pattern for a specified time unit, in the chart area

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowInsideZoom = true;
	var_Chart.AllowResizeInsideZoom = false;
	var_Chart.InsideZoomOnDblClick = false;
	EXG2ANTTLib.InsideZoomFormat var_InsideZoomFormat = var_Chart.DefaultInsideZoomFormat;
		var_InsideZoomFormat.PatternChart = EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
		var_InsideZoomFormat.PatternColorChart = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	EXG2ANTTLib.InsideZooms var_InsideZooms = var_Chart.InsideZooms;
		var_InsideZooms.SplitBaseLevel = false;
		var_InsideZooms.DefaultWidth = 18;
		var_InsideZooms.Add(Convert.ToDateTime("1/4/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllowInsideFormat = false;
axG2antt1.EndUpdate();

1009
How can I hide the non-working hours, but still display the non-working days with even less space

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("11/19/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesGeometric;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%dddd%>";
		var_Level.Alignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.FormatLabel = "weekday(dvalue) in (0,6) ? `` : value";
	EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = 65536;
		var_Level1.DrawGridLines = true;
		var_Level1.FormatLabel = "weekday(dvalue) in (0,6) ? `<font ;6>weekend</font>` : value";
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = true;
	var_Chart.ShowNonworkingHours = false;
	var_Chart.UnitWidth = 32;
	var_Chart.UnitWidthNonworking = -32;
axG2antt1.EndUpdate();

1008
How can I hide the non-working hours, but still display the non-working days with less space

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("11/19/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesGeometric;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%dddd%>";
		var_Level.Alignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.FormatLabel = "weekday(dvalue) in (0,6) ? `<font ;6>` + value + `</font>` : value";
	EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = 65536;
		var_Level1.DrawGridLines = true;
		var_Level1.FormatLabel = "weekday(dvalue) in (0,6) ? `<font ;6>` + value + `</font>` : value";
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = true;
	var_Chart.ShowNonworkingHours = false;
	var_Chart.UnitWidth = 32;
	var_Chart.UnitWidthNonworking = 12;
axG2antt1.EndUpdate();

1007
How can I hide the non-working hours, but still display the non-working days

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("11/19/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesGeometric;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%dddd%>";
		var_Level.Alignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment;
	EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = 65536;
		var_Level1.DrawGridLines = true;
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = true;
	var_Chart.ShowNonworkingHours = false;
axG2antt1.EndUpdate();

1006
How can I hide the non-working hours, and the non-working days

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("11/19/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesGeometric;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%dddd%>";
		var_Level.Alignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment;
	EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = 65536;
		var_Level1.DrawGridLines = true;
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingHours = false;
axG2antt1.EndUpdate();

1005
Can I highlights the non-working hours while my chart shows days

EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.UnitWidth = 48;
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%d%>";
		var_Level.Unit = EXG2ANTTLib.UnitEnum.exHour;
		var_Level.Count = 24;
	var_Chart.NonworkingHours = 127;

1004
How can I reduce the space/area being occupied by non-working units days or hours (method 2)

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.UnitWidthNonworking = -8;
	var_Chart.get_Level(1).FormatLabel = "weekday(dvalue) in (0,6) ? '.' : value";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K4",null);
	var_Items.set_ItemBar(h,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
axG2antt1.EndUpdate();

1003
How can I reduce the space/area being occupied by non-working units days or hours (method 1)

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.UnitWidthNonworking = 4;
	var_Chart.get_Level(1).FormatLabel = "weekday(dvalue) in (0,6) ? '' : value";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K4",null);
	var_Items.set_ItemBar(h,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
axG2antt1.EndUpdate();

1002
How can I hide the non-working units

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exVLines;
	var_Chart.get_Level(0).DrawGridLines = true;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesGeometric;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K4",null);
	var_Items.set_ItemBar(h,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
axG2antt1.EndUpdate();

1001
How can I determine that a certain bar is the topmost (zorder)

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/27/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars["Task"].Pattern = EXG2ANTTLib.PatternEnum.exPatternSolid;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("B in front");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B","<fgcolor=FF0000>B</fgcolor>");
	var_Items.set_ItemBar(h,"B",EXG2ANTTLib.ItemBarPropertyEnum.exBarOffset,-2);
	var_Items.set_ItemBar(h,"B",EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"B",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	h = var_Items.AddItem("A in back");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","<fgcolor=FF0000>A</fgcolor>");
	var_Items.set_ItemBar(h,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarOffset,-2);
	var_Items.set_ItemBar(h,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
axG2antt1.EndUpdate();